[ioemu] Don't enable monitor or serial console on virtual consoles by default.
authorChristian Limpach <Christian.Limpach@xensource.com>
Wed, 28 Mar 2007 09:36:49 +0000 (10:36 +0100)
committerChristian Limpach <Christian.Limpach@xensource.com>
Wed, 28 Mar 2007 09:36:49 +0000 (10:36 +0100)
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
tools/ioemu/vl.c

index 6f9219fa403c842f1852800e82ac19f57df72277..66174de66f5a8fff76325eba588cc428ef74ab46 100644 (file)
@@ -6109,10 +6109,9 @@ int main(int argc, char **argv)
 #endif /* !CONFIG_DM */
     cyls = heads = secs = 0;
     translation = BIOS_ATA_TRANSLATION_AUTO;
-    pstrcpy(monitor_device, sizeof(monitor_device), "vc");
+    pstrcpy(monitor_device, sizeof(monitor_device), "null");
 
-    pstrcpy(serial_devices[0], sizeof(serial_devices[0]), "vc");
-    for(i = 1; i < MAX_SERIAL_PORTS; i++)
+    for(i = 0; i < MAX_SERIAL_PORTS; i++)
         serial_devices[i][0] = '\0';
     serial_device_index = 0;